package org.sixtynine.stock.service;

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.CompanyDocument;

/**
 * @author Thilan
 * 
 */
public interface CompanyDocumentService {

	CompanyDocument findById(int id);

	void saveCompanyDocument(CompanyDocument companyDocument);

	void deleteCompanyDocument(int id);

	List<CompanyDocument> findCompanyDocument(int id);

	List<CompanyDocument> searchCompanyDocument(int companyId, Date fromDate,
			Date toDate);

	Page<CompanyDocument> searchCompanyDocument(int companyId, Date fromDate,
			Date toDate, GridPramDTO gridPramDTO);
}
